package test;

import com.spring.core.annotation.Autowired;
import com.spring.core.annotation.Controller;

@Controller
public class UserController {
    @Autowired
    private UserService userService;

    public void doSomething() {
        System.out.println("UserController: doSomething()");
        userService.hello();
    }
} 